<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>src/vfs/smbfs/helpers/include/charset.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#TOP'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--smbfs.html'>smbfs</a>/<a href='../files/src--vfs--smbfs--helpers.html'>helpers</a>/<a href='../files/src--vfs--smbfs--helpers--include.html'>include</a>/charset.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/src.html'>src</a>/<a href='../files/src--vfs.html'>vfs</a>/<a href='../files/src--vfs--smbfs.html'>smbfs</a>/<a href='../files/src--vfs--smbfs--helpers.html'>helpers</a>/<a href='../files/src--vfs--smbfs--helpers--include.html'>include</a>/charset.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 src/vfs/smbfs/helpers/include/charset.h'  /> */</em>
<hr />
<h2 class='header'><a href='src--vfs--smbfs--helpers--include--includes.h.html#L439' title='Included from 439 in src/vfs/smbfs/helpers/include/includes.h.'>INCLUDED FROM</a></h2>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='comment'>/*</em>
<a id='L2' name='L2'></a>   2 <em class='comment'>   Unix SMB/Netbios implementation.</em>
<a id='L3' name='L3'></a>   3 <em class='comment'>   Version 1.9.</em>
<a id='L4' name='L4'></a>   4 <em class='comment'>   Character set handling</em>
<a id='L5' name='L5'></a>   5 <em class='comment'> */</em>
<a id='L6' name='L6'></a>   6 
<a id='L7' name='L7'></a>   7 <em class='sharp'>#ifndef</em> <a href='../S/src--vfs--smbfs--helpers--lib--charset.c.html#L27' title='Defined at 27 in src/vfs/smbfs/helpers/lib/charset.c.'>CHARSET_C</a>
<a id='L8' name='L8'></a>   8 
<a id='L9' name='L9'></a>   9 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *<a href='../Y/dos_char_map.html' title='Multiple used in 6 places.'>dos_char_map</a>;
<a id='L10' name='L10'></a>  10 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *<a href='../Y/upper_char_map.html' title='Multiple used in 7 places.'>upper_char_map</a>;
<a id='L11' name='L11'></a>  11 <strong class='reserved'>extern</strong> <strong class='reserved'>char</strong> *<a href='../Y/lower_char_map.html' title='Multiple used in 7 places.'>lower_char_map</a>;
<a id='L12' name='L12'></a>  12 
<a id='L13' name='L13'></a>  13 <em class='sharp'>#ifdef</em> <a href='../D/toupper.html' title='Multiple defined in 2 places.'>toupper</a>
<a id='L14' name='L14'></a>  14 <em class='sharp'>#undef</em> <a href='../R/toupper.html' title='Multiple referred from 25 places.'>toupper</a>
<a id='L15' name='L15'></a>  15 <em class='sharp'>#endif</em>
<a id='L16' name='L16'></a>  16 
<a id='L17' name='L17'></a>  17 <em class='sharp'>#ifdef</em> <a href='../D/tolower.html' title='Multiple defined in 2 places.'>tolower</a>
<a id='L18' name='L18'></a>  18 <em class='sharp'>#undef</em> <a href='../R/tolower.html' title='Multiple referred from 12 places.'>tolower</a>
<a id='L19' name='L19'></a>  19 <em class='sharp'>#endif</em>
<a id='L20' name='L20'></a>  20 
<a id='L21' name='L21'></a>  21 <em class='sharp'>#ifdef</em> <a href='../D/isupper.html' title='Multiple defined in 2 places.'>isupper</a>
<a id='L22' name='L22'></a>  22 <em class='sharp'>#undef</em> <a href='../R/isupper.html' title='Multiple referred from 10 places.'>isupper</a>
<a id='L23' name='L23'></a>  23 <em class='sharp'>#endif</em>
<a id='L24' name='L24'></a>  24 
<a id='L25' name='L25'></a>  25 <em class='sharp'>#ifdef</em> <a href='../D/islower.html' title='Multiple defined in 2 places.'>islower</a>
<a id='L26' name='L26'></a>  26 <em class='sharp'>#undef</em> <a href='../R/islower.html' title='Multiple referred from 7 places.'>islower</a>
<a id='L27' name='L27'></a>  27 <em class='sharp'>#endif</em>
<a id='L28' name='L28'></a>  28 
<a id='L29' name='L29'></a>  29 <em class='sharp'>#ifdef</em> <a href='../D/isdoschar.html' title='Multiple defined in 2 places.'>isdoschar</a>
<a id='L30' name='L30'></a>  30 <em class='sharp'>#undef</em> <a href='../S/src--vfs--smbfs--helpers--include--charset.h.html#L29' title='Referred from 29 in src/vfs/smbfs/helpers/include/charset.h.'>isdoschar</a>
<a id='L31' name='L31'></a>  31 <em class='sharp'>#endif</em>
<a id='L32' name='L32'></a>  32 
<a id='L33' name='L33'></a>  33 <em class='sharp'>#ifdef</em> <a href='../D/isspace.html' title='Multiple defined in 2 places.'>isspace</a>
<a id='L34' name='L34'></a>  34 <em class='sharp'>#undef</em> <a href='../R/isspace.html' title='Multiple referred from 33 places.'>isspace</a>
<a id='L35' name='L35'></a>  35 <em class='sharp'>#endif</em>
<a id='L36' name='L36'></a>  36 
<a id='L37' name='L37'></a>  37 <em class='sharp'>#define</em> <a href='../R/toupper.html' title='Multiple referred from 25 places.'>toupper</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (<a href='../Y/upper_char_map.html' title='Multiple used in 7 places.'>upper_char_map</a>[(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff)] &amp; 0xff)
<a id='L38' name='L38'></a>  38 <em class='sharp'>#define</em> <a href='../R/tolower.html' title='Multiple referred from 12 places.'>tolower</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (<a href='../Y/lower_char_map.html' title='Multiple used in 7 places.'>lower_char_map</a>[(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff)] &amp; 0xff)
<a id='L39' name='L39'></a>  39 <em class='sharp'>#define</em> <a href='../R/isupper.html' title='Multiple referred from 10 places.'>isupper</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff) != <a href='../D/tolower.html' title='Multiple defined in 2 places.'>tolower</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff))
<a id='L40' name='L40'></a>  40 <em class='sharp'>#define</em> <a href='../R/islower.html' title='Multiple referred from 7 places.'>islower</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff) != <a href='../D/toupper.html' title='Multiple defined in 2 places.'>toupper</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff))
<a id='L41' name='L41'></a>  41 <em class='sharp'>#define</em> <a href='../S/src--vfs--smbfs--helpers--include--charset.h.html#L29' title='Referred from 29 in src/vfs/smbfs/helpers/include/charset.h.'>isdoschar</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (<a href='../Y/dos_char_map.html' title='Multiple used in 6 places.'>dos_char_map</a>[(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff)] != 0)
<a id='L42' name='L42'></a>  42 <em class='sharp'>#define</em> <a href='../R/isspace.html' title='Multiple referred from 33 places.'>isspace</a>(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) ((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>)==' ' || (<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) == '\t')
<a id='L43' name='L43'></a>  43 
<a id='L44' name='L44'></a>  44 <em class='comment'>/* this is used to determine if a character is safe to use in</em>
<a id='L45' name='L45'></a>  45 <em class='comment'>   something that may be put on a command line */</em>
<a id='L46' name='L46'></a>  46 <em class='sharp'>#define</em> issafe(<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>) (<a href='../Y/isalnum.html' title='Multiple used in 4 places.'>isalnum</a>((<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>&amp;0xff)) || <a href='../D/strchr.html' title='Multiple defined in 2 places.'>strchr</a>("-._",<a href='../Y/c.html' title='Multiple used in 1020 places.'>c</a>))
<a id='L47' name='L47'></a>  47 <em class='sharp'>#endif</em> <em class='comment'>/* !CHARSET_C */</em>
<a id='L48' name='L48'></a>  48 
<a id='L49' name='L49'></a>  49 <em class='comment'>/* Dynamic codepage files defines. */</em>
<a id='L50' name='L50'></a>  50 
<a id='L51' name='L51'></a>  51 <em class='comment'>/* Version id for dynamically loadable codepage files. */</em>
<a id='L52' name='L52'></a>  52 <em class='sharp'>#define</em> <a href='../R/CODEPAGE_FILE_VERSION_ID.html' title='Multiple referred from 2 places.'>CODEPAGE_FILE_VERSION_ID</a> 0x1
<a id='L53' name='L53'></a>  53 <em class='comment'>/* Version 1 codepage file header size. */</em>
<a id='L54' name='L54'></a>  54 <em class='sharp'>#define</em> <a href='../R/CODEPAGE_HEADER_SIZE.html' title='Multiple referred from 5 places.'>CODEPAGE_HEADER_SIZE</a> 8
<a id='L55' name='L55'></a>  55 <em class='comment'>/* Offsets for codepage file header entries. */</em>
<a id='L56' name='L56'></a>  56 <em class='sharp'>#define</em> <a href='../R/CODEPAGE_VERSION_OFFSET.html' title='Multiple referred from 2 places.'>CODEPAGE_VERSION_OFFSET</a> 0
<a id='L57' name='L57'></a>  57 <em class='sharp'>#define</em> <a href='../R/CODEPAGE_CLIENT_CODEPAGE_OFFSET.html' title='Multiple referred from 2 places.'>CODEPAGE_CLIENT_CODEPAGE_OFFSET</a> 2
<a id='L58' name='L58'></a>  58 <em class='sharp'>#define</em> <a href='../R/CODEPAGE_LENGTH_OFFSET.html' title='Multiple referred from 2 places.'>CODEPAGE_LENGTH_OFFSET</a> 4
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><img class='icon' src='../icons/n_first.png' alt='[first]' /><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+58 src/vfs/smbfs/helpers/include/charset.h'  /> */</em>
</body>
</html>
